package cn.zl.ymcc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * <p>
 * 成长值记录
 * </p>
 *
 * @author zl
 * @since 2025-10-18
 */
    @Getter
    @Setter
    @ToString
    @Accessors(chain = true)
    @TableName("t_user_grow_log")
        public class UserGrowLog implements Serializable {

        private static final long serialVersionUID = 1L;
    
                        @TableId(value = "id", type = IdType.AUTO)
                private Long id;

        @TableField("create_time")
    private Long createTime;

            /**
             * 登录用户
             */
        @TableField("user_id")
    private Long userId;

            /**
             * 来源
             */
        @TableField("from_reason")
    private String fromReason;

            /**
             * 成长值
             */
        @TableField("score")
    private Integer score;

            /**
             * 备注
             */
        @TableField("remark")
    private String remark;
    }